//
//  SwitchViewController.h
//  MultiViewDemo
//
//  Created by Ngoc on 4/29/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface SwitchViewController : UIViewController {
    UIViewController *currentController;
    UIViewController *previousController;
    NSMutableArray *stackController;
    BOOL isComeBack;
}
@property(nonatomic, retain)  UIViewController *currentController;
@property(nonatomic, retain)  UIViewController *previousController;
@property(nonatomic, retain) NSMutableArray *stackController;

+(SwitchViewController *)sharedInstance;
-(void) switchView:(UIViewController*) currentCtrl toView:(UIViewController*) subController;
-(void) goToPreviousView;

@end
